package com.dyc.caradvertisting.ui.fmt.tab.mine.location;


import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.RelativeLayout;

import com.dyc.caradvertisting.R;
import com.njh.tools.base.BaseFragment;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

/**
 * 定位和轨迹
 */
public class LocationFmt extends BaseFragment {
    // TODO: Rename parameter arguments, choose names that match
    // the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
    private static final String ARG_PARAM1 = "param1";
    private static final String ARG_PARAM2 = "param2";
    @BindView(R.id.rt_car)
    RelativeLayout rtCar;
    @BindView(R.id.rt_track)
    RelativeLayout rtTrack;

    // TODO: Rename and change types of parameters
    private String mParam1;
    private String mParam2;


    public LocationFmt() {

    }

    public static LocationFmt newInstance() {
        LocationFmt fragment = new LocationFmt();
        Bundle args = new Bundle();
        fragment.setArguments(args);
        return fragment;
    }


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        // Inflate the layout for this fragment
        ButterKnife.bind(this, getView(inflater, container));
        return getView(inflater, container);
    }

    @Override
    public int getLayoutId() {
        return R.layout.fragment_location_fmt;
    }

    @Override
    public void initView(View baseView) {
        initToolbarNav(R.string.title_my_location_p);
    }

    @Override
    public boolean isSwipeBack() {
        return false;
    }

    @Override
    public void initPresenter() {

    }

    @OnClick({R.id.rt_car, R.id.rt_track})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.rt_car:
                break;
            case R.id.rt_track:
                break;
        }
    }
}
